(function(){
  console.log('Hw ext!!!')
  function ajax(url){
    return new Promise(next => {
      fetch(url).then(function(response) {
        //response.status表示响应的http状态码
        if(response.status === 200){
          //json是返回的response提供的一个方法,会把返回的json字符串反序列化成对象,也被包装成一个Promise了
          next(response.json())
        }else{
          next({errorMsg:'error'})
        }
     })
    })
  }
  // 菜单
  function insertMenu(){
    let menuItems = document.querySelector('.menu') 
    if(!document.querySelector('#menuHw') && menuItems){
      let menuHw = document.createElement('div') 
      menuHw.id = 'menuHw'
      menuHw.innerHTML = '<a target="_blank" style="color: #fff;padding: 0 20px;font-weight:500;font-size: 16px;opacity: 0.7;" href="http://113.204.227.43:8080/#pages/login/hw?code=aHd5aXFpJTdDNTNjZjI1YXRvYmRlY29kZVVSSUNvbXBvbmVudA==MmY4YjAwZjc4Y2ZmMDdmNmI3YjhmNGZjNWY=" class="link flex-column router-link-active">综合应用</a>' 
      menuHw.className = 'item flex-column active'
      let items = menuItems.querySelectorAll('.item')
      menuItems.insertBefore(menuHw,items[8])
      items[3].style.display = 'none';
    }
  }
  // requestAnimationFrame(()=>{
  //   insertMenu()
  // })
  function createIframe(args){
    args = args || {}
    let iframe = document.createElement('iframe')
    if(args.id) iframe.id = args.id
    iframe.src = args.src
    iframe.setAttribute('frameborder','0')
    iframe.setAttribute('scrolling','no')
    iframe.setAttribute('allowtransparency','yes')
    return iframe
  }
  // 油卡统计
  function insertYkTj(){
    if(/^\/env\/cleaning/.test(window.location.pathname) && !document.querySelector('#insertYkTj')){
      let cleaning = document.querySelector('.cleaning'),cleaningContent = document.querySelector('.cleaning-content')
      let iframe = createIframe({
        src:'http://113.204.227.43:8080/cetc/cleaning.html',
        id:'insertYkTj'
      })
      iframe.setAttribute('width','100%')
      iframe.setAttribute('height','400')
      cleaning.insertBefore(iframe,cleaningContent)
    }
  }
  // 车辆统计
  function insertCarTj(){
    if(/^\/env\/infrastructure/.test(window.location.pathname) && !document.querySelector('#insertCarTj')){
      let cleaning = document.querySelector('#bars-charts2')
      let iframe = createIframe({
        src:'http://113.204.227.43:8080/cetc/cleaning1.html',
        id:'insertCarTj'
      })
      iframe.setAttribute('width','882')
      iframe.setAttribute('height','250')
      cleaning.innerHTML = ''
      cleaning.appendChild(iframe)
      cleaning.previousElementSibling.querySelector('span').innerHTML = '环卫车辆数据统计'
      let dls = document.querySelectorAll('.left .work-list dl')
      dls[4].querySelector('dt span').innerHTML = 184
      dls[0].querySelector('dt span').innerHTML = 4
      dls[0].querySelector('dd').innerHTML = '业务科室'
      dls = document.querySelectorAll('.right .work-list dl')
      dls[3].querySelector('dt span').innerHTML = 1765
      dls[0].querySelector('dt span').innerHTML = 197
      dls[1].querySelector('dt span').innerHTML = 55
    }
  }

  //公厕-化粪池 视频集成
  function insertGCHFCVedio(){
    let windowopen = "height=450, width=900,left=200,top=200, toolbar=no, menubar=no,resizable=no, location=no, status=no"
    if(/^\/env\/guards/.test(window.location.pathname)){
      let vedios = {
        ldzgw_jlgc:{
          name:'九龙广场劳动者港湾-劳动者港湾',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#ldzgw_jlgc'
        },
        gc_zgdd:{
          name:'直港大道公厕-公厕',
          id:'34020000001110000468',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_zgdd'
        },
        gc_yggy:{
          name:'渝高公园公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000469',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yggy'
        },
        gc_xgh:{
          name:'江厦.星光汇-公厕',
          btnName: '视频监控',
          id:'34020000001110000470',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xgh'
        },
        gc_hgpyss:{
          name:'黄桷坪运输社公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000471',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_hgp'
        },
        gc_jbl:{
          name:'九滨路公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000472',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_jbl'
        },
        gc_hjmtgnec:{
          name:'黄家码头工农二村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000473',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_hjmtgnec'
        },

        gc_gjgxh:{
          name:'袁家岗鲜花公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000474',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_gjgxh'
        },
        gc_hjmtlsqy:{
          name:'黄家码头丽水菁苑公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000475',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_hjmtlsqy'
        },
        gc_xjwwhec:{
          name:'谢家湾文化二村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000476',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjwwhec'
        },
        gc_cjlgm:{
          name:'长江路国美公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000477',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cjlgm'
        },
        gc_nbdd:{
          name:'南北大道公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000478',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_nbdd'
        },
        gc_xjwjsyy:{
          name:'谢家湾建设医院公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000479',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjwjsyy'
        },
        gc_spqxyy:{
          name:'石坪桥小游园公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000480',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqxyy'
        },
        gc_spqhj:{
          name:'石坪桥后街公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000481',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqhj'
        },
        gc_spqczx:{
          name:'石坪桥车站西公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000482',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqczx'
        },
        gc_yjpqyl:{
          name:'杨家坪前冶路公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000483',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjpqyl'
        },
        gc_xjlthx:{
          name:'西郊路桃花溪公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000484',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjlthx'
        },
        gc_lqltftl:{
          name:'龙泉路天福堂公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000485',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_lqltft'
        },
        gc_yjl:{
          name:'冶金路公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000486',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjl'
        },
        gc_whgc:{
          name:'文化广场公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000487',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_whgc'
        },
        gc_snlj:{
          name:'水碾立交公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000488',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_snlj'
        },
        gc_xjlxsq:{
          name:'西郊路下石桥公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000489',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjlxsq'
        },
        gc_ljlgxc:{
          name:'龙江路广厦城公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000490',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_ljlgxc'
        },
        gc_cyl:{
          name:'朝阳路白鹤广场-公厕',
          btnName: '视频监控',
          id:'34020000001110000491',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cyl'
        },
        gc_yjltzk:{
          name:'杨九路滩子口公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000492',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjltzk'
        },
        gc_fxlsqgy:{
          name:'凤西路社区公园公厕-公厕',
          err:'地图上没有该厕所定位标识',
          btnName: '视频监控',
          id:'34020000001110000493',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_fxlsqgy'
        },
        gc_ljlqgqc:{
          name:'龙江路青国青城公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000494',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_ljlqgqc'
        },
        
        gc_cjpcz:{
          name:'陈家坪车站公厕-公厕',
          err:'地图上没有这个车站公厕',
          btnName: '视频监控',
          id:'34020000001110000495',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cjpcz'
        },
        gc_cyhzmst:{
          name:'彩云湖最美生态公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000496',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cyhzmst'
        },
        gc_eljzt:{
          name:'二郎金子塔公厕-公厕',
          err:'地图上没有这个车站公厕',
          btnName: '视频监控',
          id:'34020000001110000497',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_eljzt'
        },
        gc_spqyr:{
          name:'石坪桥怡然公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000498',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqyr'
        },
        gc_spq25l:{
          name:'石坪桥25路公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000499',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spq25l'
        },
        gc_spqygxy:{
          name:'石坪桥阳光心悦公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000500',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqygxy'
        },
        gc_spqspc:{
          name:'石坪桥石坪村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000501',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_spqspc'
        },
        gc_kll:{
          name:'科六路公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000502',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_kll'
        },
        gc_cjlxzj:{
          name:'长江路谢正街公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000503',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cjlxzj'
        },
        gc_cjltjb:{
          name:'长江路田家炳公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000504',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cjltjb'
        },
        gc_xjwjgsc:{
          name:'谢家湾建工三村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000505',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjwjgsc'
        },
        gc_yzhy:{
          name:'渝中花园公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000506',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yzhy'
        },
        gc_yjphnsc:{
          name:'杨家坪花鸟市场公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000507',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjphnsc'
        },
        gc_yjpnmsc:{
          name:'杨家坪农贸市场公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000508',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjpnmsc'
        },
        gc_tbljzx:{
          name:'天宝路集装箱公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000509',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_tbljzx'
        },
        gc_mwlc:{
          name:'马王六村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000510',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_mwlc'
        },
        gc_mwsc:{
          name:'马王三村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000511',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_mwsc'
        },
        gc_yjpxjzlec:{
          name:'杨家坪西郊支路二村公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000512',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjpxjzlec'
        },
        gc_hgpdfc:{
          name:'黄桷坪豆腐厂公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000513',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_hgpdfc'
        },
        gc_hgpnmsc:{
          name:'黄桷坪农贸市场公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000514',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_hgpnmsc'
        },
        gc_ldscyy:{
          name:'劳动三村游园移动公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000515',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_ldscyy'
        },
        gc_cyl138cz:{
          name:'朝阳路138车站公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000516',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cyl138cz'
        },
        gc_txl833cz:{
          name:'天兴路833车站公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000517',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_txl833cz'
        },
        gc_yjl233:{
          name:'杨九路233公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000518',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_yjl233'
        },
        gc_xjltmbg:{
          name:'西郊路铁马宾馆公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000519',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_xjltmbg'
        },
        gc_cjlxjwqgz:{
          name:'长江路谢家湾轻轨站公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000520',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_cjlxjwqgz'
        },
        gc_mwxcz:{
          name:'马王乡车站公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000521',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_mwxcz'
        },
        gc_jlzxxp:{
          name:'九龙镇小学旁-公厕',
          btnName: '视频监控',
          id:'34020000001110000522',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_jlzxxp'
        },
        gc_glgcyd:{
          name:'奥体车市旁公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000523',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_glgcyd'
        },
        gc_ldpyd:{
          name:'老顶坡移动公厕-公厕',
          err:'地图上没有该厕所定位标识',
          btnName: '视频监控',
          id:'34020000001110000524',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_ldpyd'
        },
        gc_80zyd:{
          name:'80中门口移动公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000525',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_80zyd'
        },
        gc_sxl198hyd:{
          name:'石小路198号移动公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000526',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_sxl198hyd'
        },
        gc_dggyr:{
          name:'大公馆怡然公厕-公厕',
          btnName: '视频监控',
          id:'34020000001110000527',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#gc_dggyr'
        },
        zzz_el:{
          name:'二郎站-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_el'
        },
        zzz_qyl:{
          name:'前冶路-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_qyl'
        },
        zzz_xsq:{
          name:'下石桥-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_xsq'
        },
        zzz_324yy:{
          name:'324医院-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_324yy'
        },
        zzz_kyll:{
          name:'科六路-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_kyll'
        },
        zzz_xgh:{
          name:'星光汇-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_xgh'
        },
        zzz_hl:{
          name:'华龙站-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_hl'
        },
        zzz_mahf:{
          name:'民安华福站-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_mahf'
        },
        zzz_xp:{
          name:'西彭站-垃圾中转站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_xp'
        },
        zzz_tlyc:{
          name:'铁路一村压缩站',
          btnName: '视频监控',
          webUrl:'http://113.204.227.43:8080/cetc/videos.html#zzz_tlyc'
        }
      }
      for(let key in vedios){
        let textEllipsis = document.querySelector('.text-ellipsis')
        if(textEllipsis && !document.querySelector('#' + key) && textEllipsis.innerHTML == vedios[key].name){
          let wrap = textEllipsis.parentNode.parentNode
          let btns = wrap.querySelector('.btns')
          let a = document.createElement('a')
          a.id = key
          a.innerHTML = vedios[key].btnName
          a.className = 'btn flex-column'
          a.setAttribute('style',`
          background: linear-gradient(-10deg,rgba(12,106,178,.9),rgba(0,138,220,0));
          color: #fff;
          width: 80px;
          height: 28px;
          margin-right: 30px;
          border-radius: 2px;
          border: 1px solid #0e97e8;
          -webkit-box-shadow: 0 0 5px 0 rgba(1,183,243,.68);
          box-shadow: 0 0 5px 0 rgba(1,183,243,.68)`)
          a.onclick = event => {
            window.open(vedios[key].webUrl,'newW',windowopen)
          }
          btns.appendChild(a)
        }
      }
    }
  }

  //二郎中转站称重统计
  function insertElzzzcz(){
    if(/^\/env\/guards/.test(window.location.pathname)){
      let textEllipsis = document.querySelector('.text-ellipsis')
      if(textEllipsis && !document.querySelector('#elzzzcz') && textEllipsis.innerHTML == '二郎站-垃圾中转站'){
        textEllipsis.id = 'elzzzcz'
        ajax('http://113.204.227.43:8080/v2/elzzzcz').then(data => {
          let wrap = textEllipsis.parentNode.parentNode
          let right = wrap.querySelector('.body .top .right')
          let labels = right.querySelectorAll('.label')
          for(let i = 0; i < labels.length; i ++){
            let label = labels[i]
            switch(label.innerHTML){
              case '本月垃圾重量':
                label.nextElementSibling.innerHTML = data.monthLjTotal / 1000 + '吨'
                break;
              case '所有权归属':
                label.nextElementSibling.innerHTML = '固废公司'
                break
            }
          }
          let items = wrap.querySelector('.bottom .items')
          labels = items.querySelectorAll('.label')
          for(let i = 0; i < labels.length; i ++){
            let label = labels[i]
            switch(label.innerHTML){
              case '日均转运量/设计量(吨)':
                label.innerHTML = '设计量(吨)'
                label.nextElementSibling.innerHTML = `400`
                break;
              case '总入站车数(辆)':
                label.innerHTML = '本月总入站车次'
                label.nextElementSibling.innerHTML = data.inCarTotal
                break;
              case '总出站车数(辆)':
                label.innerHTML = '本月总出站车次'
                label.nextElementSibling.innerHTML = data.outCarTotal
                break;
              case '今日入站垃圾量':
                // label.innerHTML = '昨日入站垃圾量'
                label.nextElementSibling.innerHTML = data.dayInLjTotal / 1000 + '吨'
                break;
              case '今日出站垃圾量':
                label.parentNode.style.display = 'none'
                // label.innerHTML = '昨日出站垃圾量'
                label.nextElementSibling.innerHTML = data.dayOutLjTotal / 1000 + '吨'
                break;
            }
          }
          let listDiv = wrap.querySelector('.bottom .table .list-div')
          let tds = ''
          for(i = 0; i < data.list.length; i ++){
            let item = data.list[i]
            tds += `<div data-v-2179fc9a="" class="tbody flex-row"><div data-v-2179fc9a="" class="no">${ i + 1 }</div> <div data-v-2179fc9a="" class="car">${item.carNo}</div> <div data-v-2179fc9a="" class="direction flex-column"><div data-v-2179fc9a="" class="flex-column" style="background: rgb(33, 168, 154); width: 40px; padding: 2px 6px; border-radius: 2px;">${item.inOut || '转入'}</div></div> <div data-v-2179fc9a="" class="type">${item.type || ''}</div> <div data-v-2179fc9a="" class="number">${item.total || ''}</div> <div data-v-2179fc9a="" class="company">${item.company || ''}</div> <div data-v-2179fc9a="" style="width: 140px;" class="time">${item.time || ''}</div></div>`
          }
          listDiv.innerHTML = tds
        })
      }
    }
  }

  //修改化粪池数量
  function insertHfcTotal(){
    let items = document.querySelectorAll('.left .items .item')
    if(/^\/env\/guards/.test(window.location.pathname) && !document.querySelector('#insertHfcTotal') && items && items.length > 8){
      let hfc = items[5].querySelector('.number b')
      if(hfc) {
        hfc.innerHTML = '1765'
        hfc.id = 'insertHfcTotal'
      }
      let gpx = items[8].querySelector('.number b')
      if(gpx) gpx.innerHTML = '1831'

      let gc = items[0].querySelector('.number b')
      if(gc) gc.innerHTML = '197'

      let ndzgw = items[1].querySelector('.number b')
      if(ndzgw) ndzgw.innerHTML = '58'

      let ljz = items[2].querySelector('.number b')
      if(ljz) ljz.innerHTML = '55'
    }
  }
  
  setInterval(()=>{
    insertMenu()
    insertYkTj()
    insertCarTj()
    insertGCHFCVedio()
    insertElzzzcz()
    insertHfcTotal()
  },1000)
})()